package com.zy.news.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

@Data
public class User {
    @TableId(type=IdType.AUTO)//id自增
    private Integer id;
    private String userName;
    private String fullName;
    private String password;
    private Integer role;
}
